package Event.mainLine;

import Creature.Player;
import Engine.System1;
import Event.MainStory;

import javax.swing.*;

public class EndDeath extends MainStory {
    public EndDeath(Player player) {
        super(player);
        this.lineIndex = 18;
        headerUrl = System1.class.getResource("/Interface/被拿下.png");
        header = new ImageIcon(headerUrl);
        eventName = "死亡结局";
        happenText = "";
        options = new String[]{"结束游戏"};
    }
    public void eventHappen(int option) {
        switch (option) {
            case 0:
                endText = "GAME OVER！";
                break;
        }
    }
}